#include "dlg_bookret.h"
#include "ui_dlg_bookret.h"

dlg_bookret::dlg_bookret(QWidget *parent)
    : QDialog(parent)
    , ui(new Ui::dlg_bookret)
{
    ui->setupUi(this);
}

dlg_bookret::~dlg_bookret()
{
    delete ui;
}

void dlg_bookret::setType(bool isReturn)
{
    m_isReturn = isReturn;
    ui->btn_ret->setText("归还");
}

void dlg_bookret::setBookId(int id)
{
    m_bookid = id;
}

void dlg_bookret::on_btn_ret_clicked()
{

}


void dlg_bookret::on_btn_cancel_clicked()
{

}

